package com.hqd.jjvm.rtda.heap.ref;

import com.hqd.jjvm.rtda.heap.JClass;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
public class JClassRef extends JSymRef {
    public JClassRef(JClass refJClass, String className) throws ClassNotFoundException {
        super(refJClass, className);
    }

    public JClassRef(JClassRef classRef) throws ClassNotFoundException {
        this(classRef.getJClass(), classRef.getClassName());
    }
}
